#include <windows.h>
#include "CShopBuyPacket.h"

CShopBuyPacket::CShopBuyPacket(unsigned char shopSlotID, unsigned long quantity) {

	this->type = 0x3F;
	this->size = 0x06;

	memset(data, 0, sizeof(data));

	memcpy(data+0x04-0x04, &shopSlotID, 1);
	memcpy(data+0x08-0x04, &quantity, 4);

}

CShopBuyPacket::~CShopBuyPacket() {
}
